\subsection{config.h File Reference}
\label{config_8h}\index{config.h@{config.h}}


Configuration settings.  


\subsubsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define {\bf CONF\_\-WITH\_\-FILESYSTEM}~1
\begin{DoxyCompactList}\small\item\em En-\//disables file system. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-TRANSACTIONS}~1
\begin{DoxyCompactList}\small\item\em En-\//disables transactions. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-TESTCMDS}~1
\begin{DoxyCompactList}\small\item\em En-\//disables test commands. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-DELETECMD}~1
\begin{DoxyCompactList}\small\item\em En-\//disables DELETE. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-CREATECMD}~1
\begin{DoxyCompactList}\small\item\em En-\//disables CREATE. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-PINAUTH}~1
\begin{DoxyCompactList}\small\item\em En-\//disables PIN authentication functions. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-PINCMDS}~1
\begin{DoxyCompactList}\small\item\em En-\//disables PIN commands. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-KEYAUTH}~1
\begin{DoxyCompactList}\small\item\em En-\//disables key authentication functions. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-KEYCMDS}~1
\begin{DoxyCompactList}\small\item\em En-\//disables key related commands. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-I2CEEPROM}~1
\begin{DoxyCompactList}\small\item\em En-\//disables support for the external I2C EEPROM. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-DECRYPT}~0
\begin{DoxyCompactList}\small\item\em En-\//disables support for decryption. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-LOGGING}~1
\begin{DoxyCompactList}\small\item\em En-\//disables support for logging. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-RETCODEMGR}~0
\begin{DoxyCompactList}\small\item\em En-\//disables return code manager. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-FUNNY}~0
\begin{DoxyCompactList}\small\item\em En-\//disables funny commands. \item\end{DoxyCompactList}\item 
\#define {\bf CONF\_\-WITH\_\-TRNG}~0
\begin{DoxyCompactList}\small\item\em En-\//disables true random generator. {\bfseries Highly experimental!} \item\end{DoxyCompactList}\item 
\#define {\bf CARD\_\-STATE\_\-ADDR}~0x0000
\begin{DoxyCompactList}\small\item\em Set crypto algorithm. \item\end{DoxyCompactList}\item 
\#define {\bf ATR\_\-LEN\_\-ADDR}~(CARD\_\-STATE\_\-ADDR+1)
\begin{DoxyCompactList}\small\item\em EEPROM address of the ATR length. \item\end{DoxyCompactList}\item 
\#define {\bf ATR\_\-MAXLEN}~28
\begin{DoxyCompactList}\small\item\em Max. length of the ATR. \item\end{DoxyCompactList}\item 
\#define {\bf ATR\_\-ADDR}~(ATR\_\-LEN\_\-ADDR+1)
\begin{DoxyCompactList}\small\item\em EEPROM address of the ATR. \item\end{DoxyCompactList}\item 
\#define {\bf SERNUM\_\-ADDR}~(ATR\_\-ADDR+ATR\_\-MAXLEN)
\begin{DoxyCompactList}\small\item\em EEPROM address of the serial number of the card. \item\end{DoxyCompactList}\item 
\#define {\bf SERNUM\_\-LEN}~8
\begin{DoxyCompactList}\small\item\em Length of the serial number. \item\end{DoxyCompactList}\item 
\#define {\bf RAND\_\-STATE\_\-ADDR}~(SERNUM\_\-ADDR+SERNUM\_\-LEN)
\begin{DoxyCompactList}\small\item\em EEPROM address of the state of the PRNG. \item\end{DoxyCompactList}\item 
\#define {\bf RAND\_\-STATE\_\-LEN}~8+8+16
\begin{DoxyCompactList}\small\item\em Length of the state of the PRNG. (Counter[8], State[8], Key[16]). \item\end{DoxyCompactList}\item 
\#define {\bf TRANSAC\_\-STATE\_\-ADDR}~(RAND\_\-STATE\_\-ADDR+RAND\_\-STATE\_\-LEN)
\begin{DoxyCompactList}\small\item\em EEPROM address of the transaction state. \item\end{DoxyCompactList}\item 
\#define {\bf TRANSAC\_\-DATA\_\-ADDR}~(TRANSAC\_\-STATE\_\-ADDR+1)
\begin{DoxyCompactList}\small\item\em EEPROM address of the transaction data. \item\end{DoxyCompactList}\item 
\#define {\bf TRANSAC\_\-DATA\_\-LEN}~19
\begin{DoxyCompactList}\small\item\em Length of the transaction data. \item\end{DoxyCompactList}\item 
\#define {\bf ADM\_\-KEY\_\-LEN}~16
\begin{DoxyCompactList}\small\item\em Length of the External Authentication key. \item\end{DoxyCompactList}\item 
\#define {\bf INT\_\-KEY\_\-LEN}~16
\begin{DoxyCompactList}\small\item\em Length of the Internal Authentication key. \item\end{DoxyCompactList}\item 
\#define {\bf PIN\_\-LEN}~8
\begin{DoxyCompactList}\small\item\em Length of the PIN. \item\end{DoxyCompactList}\item 
\#define {\bf PUK\_\-LEN}~8
\begin{DoxyCompactList}\small\item\em Length of the PUK. \item\end{DoxyCompactList}\item 
\#define {\bf DATA\_\-END\_\-1}~(TRANSAC\_\-DATA\_\-ADDR+TRANSAC\_\-DATA\_\-LEN)
\begin{DoxyCompactList}\small\item\em Dummy address to handle the ifdefs here. \item\end{DoxyCompactList}\item 
\#define {\bf FS\_\-START\_\-PTR\_\-ADDR}~DATA\_\-END\_\-1
\begin{DoxyCompactList}\small\item\em EEPROM address of pointer to the file system start. \item\end{DoxyCompactList}\item 
\#define {\bf ENDIAN\_\-LITTLE}
\begin{DoxyCompactList}\small\item\em This is a little endian architecture. \item\end{DoxyCompactList}\item 
\#define {\bf EEPROM\_\-SIZE}~0x200
\begin{DoxyCompactList}\small\item\em Size of the internal EEPROM. \item\end{DoxyCompactList}\item 
\#define {\bf RAM\_\-SIZE}~0x200
\begin{DoxyCompactList}\small\item\em Size of the RAM. \item\end{DoxyCompactList}\item 
\#define {\bf CHIP}~0x01
\begin{DoxyCompactList}\small\item\em Chip ID. \item\end{DoxyCompactList}\item 
\#define {\bf ESIZ}~0x03
\begin{DoxyCompactList}\small\item\em External EEPROM ID. \item\end{DoxyCompactList}\item 
\#define {\bf ARCH}~avr2
\begin{DoxyCompactList}\small\item\em AVR architecture. Needed for assembler. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsubsection{Detailed Description}
Configuration settings. \begin{DoxyParagraph}{Id:}
\doxyref{config.h}{p.}{config_8h},v 1.27 2003/03/30 12:42:21 m Exp 
\end{DoxyParagraph}


\subsubsection{Define Documentation}
\index{config.h@{config.h}!ADM\_\-KEY\_\-LEN@{ADM\_\-KEY\_\-LEN}}
\index{ADM\_\-KEY\_\-LEN@{ADM\_\-KEY\_\-LEN}!config.h@{config.h}}
\paragraph[{ADM\_\-KEY\_\-LEN}]{\setlength{\rightskip}{0pt plus 5cm}\#define ADM\_\-KEY\_\-LEN~16}\hfill\label{config_8h_a2bb18fa86e052ac2ec39f3a373e7636b}


Length of the External Authentication key. 



Referenced by auth\_\-createVerifyCryptogram(), auth\_\-getCheckPinLen(), cmd\_\-verifyKeyPIN(), and hal\_\-init().

\index{config.h@{config.h}!ARCH@{ARCH}}
\index{ARCH@{ARCH}!config.h@{config.h}}
\paragraph[{ARCH}]{\setlength{\rightskip}{0pt plus 5cm}\#define ARCH~avr2}\hfill\label{config_8h_a63e66b419dba650abc74240836e8447a}


AVR architecture. Needed for assembler. 

\index{config.h@{config.h}!ATR\_\-ADDR@{ATR\_\-ADDR}}
\index{ATR\_\-ADDR@{ATR\_\-ADDR}!config.h@{config.h}}
\paragraph[{ATR\_\-ADDR}]{\setlength{\rightskip}{0pt plus 5cm}\#define ATR\_\-ADDR~(ATR\_\-LEN\_\-ADDR+1)}\hfill\label{config_8h_a4ac3ca45aaece79f77cdad52dd12141a}


EEPROM address of the ATR. 



Referenced by hal\_\-init(), and main().

\index{config.h@{config.h}!ATR\_\-LEN\_\-ADDR@{ATR\_\-LEN\_\-ADDR}}
\index{ATR\_\-LEN\_\-ADDR@{ATR\_\-LEN\_\-ADDR}!config.h@{config.h}}
\paragraph[{ATR\_\-LEN\_\-ADDR}]{\setlength{\rightskip}{0pt plus 5cm}\#define ATR\_\-LEN\_\-ADDR~(CARD\_\-STATE\_\-ADDR+1)}\hfill\label{config_8h_a197f53a6155829c6ed05381f466a6c0d}


EEPROM address of the ATR length. 



Referenced by hal\_\-init(), and main().

\index{config.h@{config.h}!ATR\_\-MAXLEN@{ATR\_\-MAXLEN}}
\index{ATR\_\-MAXLEN@{ATR\_\-MAXLEN}!config.h@{config.h}}
\paragraph[{ATR\_\-MAXLEN}]{\setlength{\rightskip}{0pt plus 5cm}\#define ATR\_\-MAXLEN~28}\hfill\label{config_8h_abd46c2b34c6f1fe848dbfc870bbeeca9}


Max. length of the ATR. 



Referenced by hal\_\-init(), and main().

\index{config.h@{config.h}!CARD\_\-STATE\_\-ADDR@{CARD\_\-STATE\_\-ADDR}}
\index{CARD\_\-STATE\_\-ADDR@{CARD\_\-STATE\_\-ADDR}!config.h@{config.h}}
\paragraph[{CARD\_\-STATE\_\-ADDR}]{\setlength{\rightskip}{0pt plus 5cm}\#define CARD\_\-STATE\_\-ADDR~0x0000}\hfill\label{config_8h_a1a21a8643e5c0e3eb0afa7b33b4949ed}


Set crypto algorithm. 


\begin{DoxyItemize}
\item 0: TEA
\item 1: Skipjack
\item 2: NEWDES-\/SK
\end{DoxyItemize}

EEPROM address of the state of the card. This is currently unused.

{\itshape Warning: When using interrupts on the AVR, this byte may accidently be changed. See errata sheets of AVR.\/} 

Referenced by hal\_\-init().

\index{config.h@{config.h}!CHIP@{CHIP}}
\index{CHIP@{CHIP}!config.h@{config.h}}
\paragraph[{CHIP}]{\setlength{\rightskip}{0pt plus 5cm}\#define CHIP~0x01}\hfill\label{config_8h_a2ba78120609f4e9bec8315405449c07d}


Chip ID. 

\index{config.h@{config.h}!CONF\_\-WITH\_\-CREATECMD@{CONF\_\-WITH\_\-CREATECMD}}
\index{CONF\_\-WITH\_\-CREATECMD@{CONF\_\-WITH\_\-CREATECMD}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-CREATECMD}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-CREATECMD~1}\hfill\label{config_8h_ad37f65cfa35b1a6f405d6c07d8fb81c7}


En-\//disables CREATE. 

\index{config.h@{config.h}!CONF\_\-WITH\_\-DECRYPT@{CONF\_\-WITH\_\-DECRYPT}}
\index{CONF\_\-WITH\_\-DECRYPT@{CONF\_\-WITH\_\-DECRYPT}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-DECRYPT}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-DECRYPT~0}\hfill\label{config_8h_abe382a2b6c967b12bb96279996bd8342}


En-\//disables support for decryption. 

If set to 1, support for decryption side of the cryptographic algorithms are included. \index{config.h@{config.h}!CONF\_\-WITH\_\-DELETECMD@{CONF\_\-WITH\_\-DELETECMD}}
\index{CONF\_\-WITH\_\-DELETECMD@{CONF\_\-WITH\_\-DELETECMD}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-DELETECMD}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-DELETECMD~1}\hfill\label{config_8h_a5f985a5e82c211245a2b228ef69cf2f3}


En-\//disables DELETE. 

\index{config.h@{config.h}!CONF\_\-WITH\_\-FILESYSTEM@{CONF\_\-WITH\_\-FILESYSTEM}}
\index{CONF\_\-WITH\_\-FILESYSTEM@{CONF\_\-WITH\_\-FILESYSTEM}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-FILESYSTEM}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-FILESYSTEM~1}\hfill\label{config_8h_aeeb592f81fe5326a35500be6d9841a14}


En-\//disables file system. 

\begin{Desc}
\item[{\bf Todo}]Make this define something happen. \end{Desc}
\index{config.h@{config.h}!CONF\_\-WITH\_\-FUNNY@{CONF\_\-WITH\_\-FUNNY}}
\index{CONF\_\-WITH\_\-FUNNY@{CONF\_\-WITH\_\-FUNNY}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-FUNNY}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-FUNNY~0}\hfill\label{config_8h_ad25612faac5fc8d5473003bb9a2fcd34}


En-\//disables funny commands. 

If set to 1, funny commands are included. \index{config.h@{config.h}!CONF\_\-WITH\_\-I2CEEPROM@{CONF\_\-WITH\_\-I2CEEPROM}}
\index{CONF\_\-WITH\_\-I2CEEPROM@{CONF\_\-WITH\_\-I2CEEPROM}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-I2CEEPROM}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-I2CEEPROM~1}\hfill\label{config_8h_a9e590ac7115e4ac9af7b1b941881e037}


En-\//disables support for the external I2C EEPROM. 

\index{config.h@{config.h}!CONF\_\-WITH\_\-KEYAUTH@{CONF\_\-WITH\_\-KEYAUTH}}
\index{CONF\_\-WITH\_\-KEYAUTH@{CONF\_\-WITH\_\-KEYAUTH}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-KEYAUTH}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-KEYAUTH~1}\hfill\label{config_8h_a6c9a5c34ce6924068874e369b524d34a}


En-\//disables key authentication functions. 

If set to 1, functions impelementing calculations with challenges are included. This is a requirement for CONF\_\-WITH\_\-KEY\_\-CMDS. \index{config.h@{config.h}!CONF\_\-WITH\_\-KEYCMDS@{CONF\_\-WITH\_\-KEYCMDS}}
\index{CONF\_\-WITH\_\-KEYCMDS@{CONF\_\-WITH\_\-KEYCMDS}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-KEYCMDS}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-KEYCMDS~1}\hfill\label{config_8h_a3c089a2defbb0b068fc7a6ed7455b2c9}


En-\//disables key related commands. 

If set to 1, commands EXTERNAL KEYENTIFICATION, GET CHALLENGE, INTERNAL KEYENTIFICATION and VERIFY KEY are included. \index{config.h@{config.h}!CONF\_\-WITH\_\-LOGGING@{CONF\_\-WITH\_\-LOGGING}}
\index{CONF\_\-WITH\_\-LOGGING@{CONF\_\-WITH\_\-LOGGING}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-LOGGING}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-LOGGING~1}\hfill\label{config_8h_a3978c17b61650f7fa8035d7733d312a1}


En-\//disables support for logging. 

If set to 1, support for logging is included. \index{config.h@{config.h}!CONF\_\-WITH\_\-PINAUTH@{CONF\_\-WITH\_\-PINAUTH}}
\index{CONF\_\-WITH\_\-PINAUTH@{CONF\_\-WITH\_\-PINAUTH}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-PINAUTH}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-PINAUTH~1}\hfill\label{config_8h_ae85e1e15118de76d3b36abc1bebd26f9}


En-\//disables PIN authentication functions. 

If set to 1, functions to set and test PIN and PUK are included. This is a requirement for CONF\_\-WITH\_\-PINCMDS. \index{config.h@{config.h}!CONF\_\-WITH\_\-PINCMDS@{CONF\_\-WITH\_\-PINCMDS}}
\index{CONF\_\-WITH\_\-PINCMDS@{CONF\_\-WITH\_\-PINCMDS}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-PINCMDS}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-PINCMDS~1}\hfill\label{config_8h_ac16f70600d58ccf30909ac397824a0b4}


En-\//disables PIN commands. 

If set to 1, commands CHANGE PIN and VERIFY PIN are included. \index{config.h@{config.h}!CONF\_\-WITH\_\-RETCODEMGR@{CONF\_\-WITH\_\-RETCODEMGR}}
\index{CONF\_\-WITH\_\-RETCODEMGR@{CONF\_\-WITH\_\-RETCODEMGR}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-RETCODEMGR}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-RETCODEMGR~0}\hfill\label{config_8h_a8ffc92693fd9b04c506a264f3b56e9c4}


En-\//disables return code manager. 

If set to 1, the return code manager is included. This increases code size on the AVR. \index{config.h@{config.h}!CONF\_\-WITH\_\-TESTCMDS@{CONF\_\-WITH\_\-TESTCMDS}}
\index{CONF\_\-WITH\_\-TESTCMDS@{CONF\_\-WITH\_\-TESTCMDS}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-TESTCMDS}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-TESTCMDS~1}\hfill\label{config_8h_ae9b054327c467f3d5f9d9cff01fa68c9}


En-\//disables test commands. 

If set to 1, commands READ EEPROM and WRITE EEPROM are included. \index{config.h@{config.h}!CONF\_\-WITH\_\-TRANSACTIONS@{CONF\_\-WITH\_\-TRANSACTIONS}}
\index{CONF\_\-WITH\_\-TRANSACTIONS@{CONF\_\-WITH\_\-TRANSACTIONS}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-TRANSACTIONS}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-TRANSACTIONS~1}\hfill\label{config_8h_ae6e67a6070731807132469fbbf2afc74}


En-\//disables transactions. 

\index{config.h@{config.h}!CONF\_\-WITH\_\-TRNG@{CONF\_\-WITH\_\-TRNG}}
\index{CONF\_\-WITH\_\-TRNG@{CONF\_\-WITH\_\-TRNG}!config.h@{config.h}}
\paragraph[{CONF\_\-WITH\_\-TRNG}]{\setlength{\rightskip}{0pt plus 5cm}\#define CONF\_\-WITH\_\-TRNG~0}\hfill\label{config_8h_a23c2b2e3292fcb1a71566a1e1fb3be18}


En-\//disables true random generator. {\bfseries Highly experimental!} 

If set to 1, a true random number generator is included. This is currently only for test purposes and highly experimental! \index{config.h@{config.h}!DATA\_\-END\_\-1@{DATA\_\-END\_\-1}}
\index{DATA\_\-END\_\-1@{DATA\_\-END\_\-1}!config.h@{config.h}}
\paragraph[{DATA\_\-END\_\-1}]{\setlength{\rightskip}{0pt plus 5cm}\#define DATA\_\-END\_\-1~(TRANSAC\_\-DATA\_\-ADDR+TRANSAC\_\-DATA\_\-LEN)}\hfill\label{config_8h_a22acd9080225a1f8a478cc9393096e09}


Dummy address to handle the ifdefs here. 

\index{config.h@{config.h}!EEPROM\_\-SIZE@{EEPROM\_\-SIZE}}
\index{EEPROM\_\-SIZE@{EEPROM\_\-SIZE}!config.h@{config.h}}
\paragraph[{EEPROM\_\-SIZE}]{\setlength{\rightskip}{0pt plus 5cm}\#define EEPROM\_\-SIZE~0x200}\hfill\label{config_8h_ae3ef7bba113f663df6996f286b632a3f}


Size of the internal EEPROM. 



Referenced by hal\_\-eeprom\_\-read(), and hal\_\-eeprom\_\-write().

\index{config.h@{config.h}!ENDIAN\_\-LITTLE@{ENDIAN\_\-LITTLE}}
\index{ENDIAN\_\-LITTLE@{ENDIAN\_\-LITTLE}!config.h@{config.h}}
\paragraph[{ENDIAN\_\-LITTLE}]{\setlength{\rightskip}{0pt plus 5cm}\#define ENDIAN\_\-LITTLE}\hfill\label{config_8h_a79ea30e7a158a10b93d271271b6547fd}


This is a little endian architecture. 

\index{config.h@{config.h}!ESIZ@{ESIZ}}
\index{ESIZ@{ESIZ}!config.h@{config.h}}
\paragraph[{ESIZ}]{\setlength{\rightskip}{0pt plus 5cm}\#define ESIZ~0x03}\hfill\label{config_8h_aa07246cd403cef14f25138ff5467a9b0}


External EEPROM ID. 

\index{config.h@{config.h}!FS\_\-START\_\-PTR\_\-ADDR@{FS\_\-START\_\-PTR\_\-ADDR}}
\index{FS\_\-START\_\-PTR\_\-ADDR@{FS\_\-START\_\-PTR\_\-ADDR}!config.h@{config.h}}
\paragraph[{FS\_\-START\_\-PTR\_\-ADDR}]{\setlength{\rightskip}{0pt plus 5cm}\#define FS\_\-START\_\-PTR\_\-ADDR~DATA\_\-END\_\-1}\hfill\label{config_8h_a2fe18215cfc6471fce1d55880a302c1e}


EEPROM address of pointer to the file system start. 



Referenced by fs\_\-init(), and hal\_\-init().

\index{config.h@{config.h}!INT\_\-KEY\_\-LEN@{INT\_\-KEY\_\-LEN}}
\index{INT\_\-KEY\_\-LEN@{INT\_\-KEY\_\-LEN}!config.h@{config.h}}
\paragraph[{INT\_\-KEY\_\-LEN}]{\setlength{\rightskip}{0pt plus 5cm}\#define INT\_\-KEY\_\-LEN~16}\hfill\label{config_8h_a771eb45b50b7bc18cc8c193e3d20ec43}


Length of the Internal Authentication key. 



Referenced by auth\_\-getCheckPinLen(), and hal\_\-init().

\index{config.h@{config.h}!PIN\_\-LEN@{PIN\_\-LEN}}
\index{PIN\_\-LEN@{PIN\_\-LEN}!config.h@{config.h}}
\paragraph[{PIN\_\-LEN}]{\setlength{\rightskip}{0pt plus 5cm}\#define PIN\_\-LEN~8}\hfill\label{config_8h_ada8fbdb1ee37b5449c94aa2601579227}


Length of the PIN. 



Referenced by auth\_\-getCheckPinLen(), cmd\_\-changeUnblockPIN(), cmd\_\-verifyKeyPIN(), and hal\_\-init().

\index{config.h@{config.h}!PUK\_\-LEN@{PUK\_\-LEN}}
\index{PUK\_\-LEN@{PUK\_\-LEN}!config.h@{config.h}}
\paragraph[{PUK\_\-LEN}]{\setlength{\rightskip}{0pt plus 5cm}\#define PUK\_\-LEN~8}\hfill\label{config_8h_a92a6c15bc95b977bddac858cba15bafe}


Length of the PUK. 



Referenced by auth\_\-getCheckPinLen(), cmd\_\-changeUnblockPIN(), and hal\_\-init().

\index{config.h@{config.h}!RAM\_\-SIZE@{RAM\_\-SIZE}}
\index{RAM\_\-SIZE@{RAM\_\-SIZE}!config.h@{config.h}}
\paragraph[{RAM\_\-SIZE}]{\setlength{\rightskip}{0pt plus 5cm}\#define RAM\_\-SIZE~0x200}\hfill\label{config_8h_ab82dd208a7e716e09a3f8c229bfe78d7}


Size of the RAM. 

\index{config.h@{config.h}!RAND\_\-STATE\_\-ADDR@{RAND\_\-STATE\_\-ADDR}}
\index{RAND\_\-STATE\_\-ADDR@{RAND\_\-STATE\_\-ADDR}!config.h@{config.h}}
\paragraph[{RAND\_\-STATE\_\-ADDR}]{\setlength{\rightskip}{0pt plus 5cm}\#define RAND\_\-STATE\_\-ADDR~(SERNUM\_\-ADDR+SERNUM\_\-LEN)}\hfill\label{config_8h_a80cd1331241421fdecaba26fa44f5d0e}


EEPROM address of the state of the PRNG. 



Referenced by hal\_\-init(), and hal\_\-rnd\_\-getBlock().

\index{config.h@{config.h}!RAND\_\-STATE\_\-LEN@{RAND\_\-STATE\_\-LEN}}
\index{RAND\_\-STATE\_\-LEN@{RAND\_\-STATE\_\-LEN}!config.h@{config.h}}
\paragraph[{RAND\_\-STATE\_\-LEN}]{\setlength{\rightskip}{0pt plus 5cm}\#define RAND\_\-STATE\_\-LEN~8+8+16}\hfill\label{config_8h_a502b7c01b1085e0104a24d3b6059ba11}


Length of the state of the PRNG. (Counter[8], State[8], Key[16]). 



Referenced by hal\_\-init(), and hal\_\-rnd\_\-getBlock().

\index{config.h@{config.h}!SERNUM\_\-ADDR@{SERNUM\_\-ADDR}}
\index{SERNUM\_\-ADDR@{SERNUM\_\-ADDR}!config.h@{config.h}}
\paragraph[{SERNUM\_\-ADDR}]{\setlength{\rightskip}{0pt plus 5cm}\#define SERNUM\_\-ADDR~(ATR\_\-ADDR+ATR\_\-MAXLEN)}\hfill\label{config_8h_aa40277c9cd142304bc234676a66f26e5}


EEPROM address of the serial number of the card. 



Referenced by hal\_\-init(), and hal\_\-rnd\_\-getBlock().

\index{config.h@{config.h}!SERNUM\_\-LEN@{SERNUM\_\-LEN}}
\index{SERNUM\_\-LEN@{SERNUM\_\-LEN}!config.h@{config.h}}
\paragraph[{SERNUM\_\-LEN}]{\setlength{\rightskip}{0pt plus 5cm}\#define SERNUM\_\-LEN~8}\hfill\label{config_8h_aaf832494213b5bb7436b2f1f15a0cc8e}


Length of the serial number. 



Referenced by hal\_\-init(), and hal\_\-rnd\_\-getBlock().

\index{config.h@{config.h}!TRANSAC\_\-DATA\_\-ADDR@{TRANSAC\_\-DATA\_\-ADDR}}
\index{TRANSAC\_\-DATA\_\-ADDR@{TRANSAC\_\-DATA\_\-ADDR}!config.h@{config.h}}
\paragraph[{TRANSAC\_\-DATA\_\-ADDR}]{\setlength{\rightskip}{0pt plus 5cm}\#define TRANSAC\_\-DATA\_\-ADDR~(TRANSAC\_\-STATE\_\-ADDR+1)}\hfill\label{config_8h_ac5fcd60a7556c82c0bb7420fd363bb85}


EEPROM address of the transaction data. 



Referenced by hal\_\-init(), ta\_\-commit(), and ta\_\-setdata().

\index{config.h@{config.h}!TRANSAC\_\-DATA\_\-LEN@{TRANSAC\_\-DATA\_\-LEN}}
\index{TRANSAC\_\-DATA\_\-LEN@{TRANSAC\_\-DATA\_\-LEN}!config.h@{config.h}}
\paragraph[{TRANSAC\_\-DATA\_\-LEN}]{\setlength{\rightskip}{0pt plus 5cm}\#define TRANSAC\_\-DATA\_\-LEN~19}\hfill\label{config_8h_a05c57916ba875ae06b6cb585c9d1223a}


Length of the transaction data. 



Referenced by hal\_\-init(), ta\_\-commit(), and ta\_\-setdata().

\index{config.h@{config.h}!TRANSAC\_\-STATE\_\-ADDR@{TRANSAC\_\-STATE\_\-ADDR}}
\index{TRANSAC\_\-STATE\_\-ADDR@{TRANSAC\_\-STATE\_\-ADDR}!config.h@{config.h}}
\paragraph[{TRANSAC\_\-STATE\_\-ADDR}]{\setlength{\rightskip}{0pt plus 5cm}\#define TRANSAC\_\-STATE\_\-ADDR~(RAND\_\-STATE\_\-ADDR+RAND\_\-STATE\_\-LEN)}\hfill\label{config_8h_adb55d638173c6769331b08776a0dd5b4}


EEPROM address of the transaction state. 



Referenced by hal\_\-init(), ta\_\-commit(), and ta\_\-setdata().

